import { optionsToMap } from "../../utils";

export const idTypeList = [
  {
    value: 1,
    label: '身份证'
  },
  {
    value: 2,
    label: '护照'
  },
  {
    value: 3,
    label: '港澳居民来往内地通行证'
  },
  {
    value: 4,
    label: '台湾居民来往大陆通行证'
  },
  {
    value: 6,
    label: '外国人永久居留身份证'
  },
  {
    value: 7,
    label: '港澳台居民居住证'
  },
];

export const idTypeMap = optionsToMap(idTypeList);

export const platformMap: any = {
  1: '国家博物馆',
  2: '故宫博物馆'
};

export const appointTimeList = [
  {
    value: 1,
    label: '09:00-11:00'
  },
  {
    value: 2,
    label: '11:00-13:30'
  },
  {
    value: 3,
    label: '13:30-16:00'
  }
];

export const palaceAppointTimeList = [
  {
    value: 1,
    label: '上午'
  },
  {
    value: 2,
    label: '下午'
  },
];

export const palaceTicketTypeList = [
  {
    value: '标准票',
    label: '标准票'
  },
  {
    value: '老年人票',
    label: '老年人票'
  },
  {
    value: '未成年人免费票',
    label: '未成年人免费票'
  },
  {
    value: '学生票',
    label: '学生票'
  },
];

export const palaceIdTypeList = [
  {
    value: 0,
    label: '身份证'
  },
  {
    value: 1,
    label: '港澳居民来往内地通行证'
  },
  {
    value: 5,
    label: '外国人永久拘留身份证'
  },
  {
    value: 2,
    label: '护照'
  },
  {
    value: 3,
    label: '台湾居民来往大陆通行证'
  },
  {
    value: 4,
    label: '港澳台居民居住证'
  },
];

export const appointTimeMap = optionsToMap(appointTimeList);

export const palaceAppointTimeMap = optionsToMap(palaceAppointTimeList);